FROM java:8

COPY target/*.jar /goods.jar

CMD ["--server.port=8002"]

EXPOSE 8002

ENTRYPOINT ["java","-Xms64m","-Xmx128m","-jar","goods.jar"]